﻿




using System;
using Hotpot.Plugins.Validators;

namespace Hotpot.Plugins.Attributes
{
    public class DateRangeValidationAttribute : PropertyDefinitionAttribute
    {
        public DateRangeValidationAttribute(DateTime? start, DateTime? end)
            : base(new DateRangeValidator(new PluginValidatorRange<DateTime>() { Start = start, End = end }), "Validation")
        {
        }
    }
}
